package com.web.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.Map;

/**
 *
 * @author xukk
 * @date 2017/8/7
 */
@Configuration
@ConfigurationProperties(prefix = "ali")
@Data
public class SmsConfig {
    @Data
    public static class Sms{
        private String accessKeyId;
        private String accessKeySecret;
        private String regionId;
        private String signName;
    }
    private Sms sms;
    private Map<String,String> template;
}
